﻿using System;
using System.Windows.Forms;

namespace Appsters
{
    public partial class DailyView : Form
    {
        public DailyView()
        {
            InitializeComponent();
        }

        private void exit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void min_Click(object sender, EventArgs e)
        {
            WindowState = FormWindowState.Minimized;
        }

        private void addTask_Click(object sender, EventArgs e)
        {
            //WindowsFormsApplication3.Task b = new WindowsFormsApplication3.Task();
            //b.Show();
            Tasks t = new Tasks();
            t.ShowDialog();
            this.Hide();
        }

        private void toPlanner_Click(object sender, EventArgs e)
        {
            planner p = new planner();
            p.Show();
            this.Hide();
        }

        private void edit_Click(object sender, EventArgs e)
        {
            MessageBox.Show("This will edit whatever Task was selected by user.");
        }

        private void backButton_Click(object sender, EventArgs e)
        {
            planner pl = new planner();
            pl.ShowDialog();
            this.Hide();
        }
    }
}
